package com.lb.design.pattern.strategypattern.context;

import com.lb.design.pattern.strategypattern.IStragety;

/**
 * Created with IntelliJ IDEA.
 * Description: 锦囊
 * User: liubin
 * Date: 2017-12-29
 * Time: 下午 2:11
 */
public class Context {

    private IStragety iStragety;

    public Context(IStragety iStragety){
        this.iStragety = iStragety;
    }

    public void operoate() {
        this.iStragety.operoate();
    }
}
